package com.hehui.module.goods.dao;


import com.hehui.module.goods.entity.BaseGoods;
import com.hehui.module.goods.entity.BaseGoodsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BaseGoodsMapper {
    long countByExample(BaseGoodsExample example);

    int deleteByExample(BaseGoodsExample example);

    int deleteByPrimaryKey(Long bgGoodid);

    int insert(BaseGoods record);

    int insertSelective(BaseGoods record);

    List<BaseGoods> selectByExample(BaseGoodsExample example);

    BaseGoods selectByPrimaryKey(Long bgGoodid);

    int updateByExampleSelective(@Param("record") BaseGoods record, @Param("example") BaseGoodsExample example);

    int updateByExample(@Param("record") BaseGoods record, @Param("example") BaseGoodsExample example);

    int updateByPrimaryKeySelective(BaseGoods record);

    int updateByPrimaryKey(BaseGoods record);
}